﻿using System;
using System.Collections.Generic;
using System.Text;

namespace dotnetOP.Attributes {

    public enum IndexSorting { ASC, DESC }

    [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
    public class IndexAttribute : Attribute {
        public IndexSorting Sorting;

        public IndexAttribute(IndexSorting sorting) {
            this.Sorting = sorting;
        }
    }
}
